-- summon_die_skill
-- created by zhuangsl
-- 击杀敌人触发技能

return {
    apply = function(prop, baseValue)
        return prop[3];
    end,
    -- 触发
    trigger = function(who, prop, arg)
        if who.type ~= OBJECT_TYPE_SUMMON then
            return;
        end

        -- 触发技能
        local round = CombatM.getRound();

        SkillM.apply(who, who, prop[3], round);
    end,

    record = function(target, prop, path)
        return false;
    end
};
